package com.tuosha.dao;
import com.tuosha.base.dao.BaseDao;
import com.tuosha.model.PostsEntity;
import com.tuosha.model.PostsListEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author tuosha
 * @email 1044053532@qq.com
 * @date 2018-07-25 09:38:57
 */
public interface PostsDao extends BaseDao<PostsEntity> {
    PostsEntity queryName(String name);

    List<PostsListEntity> queryListItem(Map<String, Object> map);
}
